﻿using Prism.Events;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace demo.Event
{
    public class MessageEvent:PubSubEvent<string>
    {


    }

    public class EventBus
    {
        private static Lazy<EventAggregator> _eventAggregator = new Lazy<EventAggregator>();

        public static EventAggregator Instance
        {
            get
            {
                return _eventAggregator.Value;
            }
        }
    }

}
